package com.cloud.drore.eboss.supplier.entity.po;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.data.domain.AbstractEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/25 14:20 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
@Data
public class DistributorProductAssociationPo {
    /*分销商id*/
    @JsonProperty("distributor_id")
    @JSONField(name = "distributor_id")
    @ApiModelProperty(name = "distributor_id", notes = "分销商id", example = "1")
    private Long distributorId;

    /*关联表id（eboos_distributor_product_association）*/
    @JsonProperty("relation_id")
    @JSONField(name = "relation_id")
    @ApiModelProperty(name = "relation_id", notes = "关联id", example = "1")
    private Long relationId;
    /*分销商名称*/
    @JsonProperty("distributor_name")
    @JSONField(name = "distributor_name")
    @ApiModelProperty(name = "distributor_name", notes = "分销商名称", example = "西溪湿地")
    private String distributorName;
    /*市场价*/
    @JsonProperty("sales_price")
    @JSONField(name = "sales_price")
    @ApiModelProperty(name = "sales_price", notes = "市场价", example = "市场价")
    private BigDecimal salesPrice;
    /*结算价*/
    @JsonProperty("settlement_price")
    @JSONField(name = "settlement_price")
    @ApiModelProperty(name = "settlement_price", notes = "结算价", example = "结算价")
    private BigDecimal settlementPrice;
    /*库存*/
    @JsonProperty("product_stock")
    @JSONField(name = "product_stock")
    @ApiModelProperty(name = "product_stock", notes = "库存", example = "1")
    private Integer productStock;
}